package com.example.kafka.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

// 传送带实体类
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "printer_machine")
public class PrinteMachine {


    @TableField(value = "MACHINEID")
    private Integer machineId;
    // 取数时间
    @TableField(value = "CHECKTIME")
    public Date checkTime;

    // 机器名
    @TableField(value = "MACHINENAME")
    private String machineName;

    // 状态
    @TableField(value = "STATUS")
    public Boolean status;

    // 电压
    @TableField(value = "VOLTAGE")
    public Integer voltage;

    // 压纸杆压力值
    @TableField(value = "PRESSURE")
    public Integer pressure;
}
